import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia';

import * as ElIcon from '@element-plus/icons-vue'


import '@/assets/css/index.css'


const app = createApp(App);
const piniaStore = createPinia();

app.use(router);
app.use(piniaStore);

app.mount('#app');


for (const [key,component] of Object.entries( ElIcon)) {
  app.component(key,component)
}
